<template>
    <div>
        <div class="nav-bar">
        <div class="icon" @click="onClickLeft"><van-icon name="arrow-left" /></div>
        </div>
        <van-nav-bar title="问诊消息" />
        <div class="box">
            <div>
                <span class="top_sp">您对医生小小美的咨询有了新的回复!</span>
                <span class="bom_sp">
                    <span>2019年3月10日 18:46</span>
                    <span class="to_Look">立即查看<i class="iconfont icon-shuangxianyoujiantou"/></span>
                </span>
            </div>
             <div>
                <span class="top_sp">您对医生小小美的咨询有了新的回复!</span>
                <span class="bom_sp">
                    <span>2019年3月10日 18:46</span>
                    <span class="to_Look">立即查看<i class="iconfont icon-shuangxianyoujiantou"/></span>
                </span>
            </div>
             <div>
                <span class="top_sp">您对医生小小美的咨询有了新的回复!</span>
                <span class="bom_sp">
                    <span>2019年3月10日 18:46</span>
                    <span class="to_Look">立即查看<i class="iconfont icon-shuangxianyoujiantou"/></span>
                </span>
            </div>
             <div>
                <span class="top_sp">您对医生小小美的咨询有了新的回复!</span>
                <span class="bom_sp">
                    <span>2019年3月10日 18:46</span>
                    <span class="to_Look">立即查看<i class="iconfont icon-shuangxianyoujiantou"/></span>
                </span>
            </div>
             <div>
                <span class="top_sp">您对医生小小美的咨询有了新的回复!</span>
                <span class="bom_sp">
                    <span>2019年3月10日 18:46</span>
                    <span class="to_Look">立即查看<i class="iconfont icon-shuangxianyoujiantou"/></span>
                </span>
            </div>
        </div>
    </div>
</template>

<script lang='ts' setup>
const onClickLeft = () => {
    history.back();
};
</script>

<style scoped lang="scss">
.nav-bar{
    .icon{
        position: absolute;
        margin-top: 15px;
        z-index: 999;
    }
}
.box{
    width: 100%;
   
    div{
        width: 95%;
        height: 70px;
        border: 1px solid #ccc;
        margin-top: 20px;
        border-radius: 5px 5px 5px 5px;
        margin-left: 2.5%;
        .top_sp{
            width: 100%;
            display: block;
        }
        .bom_sp{
            margin-top: 20px;
           display: flex;
           justify-content: space-between;
            
        }
        .to_Look{
            color: #0e7af5;
        }
    }
}

</style>